Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Traversing Mesh Components, Vertices, Faces, and Edges


Q3Mesh_NextComponentEdge

You can use the Q3Mesh_NextComponentEdge function to get the next edge in a mesh component.

TQ3MeshEdge Q3Mesh_NextComponentEdge (TQ3MeshIterator *iterator);
iterator
A pointer to a mesh iterator structure.
DESCRIPTION
The Q3Mesh_NextComponentEdge function returns, as its function result, the next edge in the iteration specified by the iterator parameter, which must have been filled in by a previous call to Q3Mesh_FirstComponentEdge or Q3Mesh_NextComponentEdge. If there are no more edges, this function returns NULL.

SPECIAL CONSIDERATIONS
The Q3Mesh_NextComponentEdge function might not accurately report the next edge in a mesh component if called while mesh updating is delayed (that is, after a call to Q3Mesh_DelayUpdates but before the matching call to Q3Mesh_ResumeUpdates).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996